home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Always 25
/
Always_25_1995-09_Elysium_Sunga_pl_Side_A.d64
/
gaypack xxv .run
/
ARCAID3
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
2KB
|
66 lines
0 rem:arcaid3: e.g. 02-nov-86
10 ifgl=5110then360
20 ifgl=5370then620
30 ifgl=5390then640
40 goto260
50 dr$=""
60 ifdv=8anddr=0thendr$="a:"
70 ifdv=8anddr=1thendr$="b:"
80 ifdv=9anddr=0thendr$="c:"
90 ifdv=9anddr=1thendr$="d:"
100 ifdv=10anddr=0thendr$="e:"
110 ifdv=10anddr=1thendr$="f:"
120 ifdv=11anddr=0thendr$="g:"
130 ifdv=11anddr=1thendr$="h:"
140 return
150 end
260 rem: append to arc file
270 print"[147] [193]ppend to an existiing [193][210][195] file [146]"
290 print" [208]ress [158]$[146] for a directory of [196]rive 8,0."
291 print" [208]ress [158][211][208][193][195][197] [194][193][210][146] to return to [205]ain [205]enu."
300 print" [193]ny other key will continue."
310 geta$:ifa$=""then310
311 ifa$<>" "then320
312 print"[147] [201][206][211][197][210][212] [196][201][211][203] with [193][210][195] [193][201][196] in drive 8,0":poke198,0
313 print" and press any key."
314 geta$:ifa$=""then314
315 print"[147]";spc(15);"[204]oading..."
316 print"[144]load"chr$(34)"arc aid ?.?"chr$(34)",8";:goto670
320 ifa$<>"$"then390
330 print"[147] [211][200][201][198][212] pauses, [210][213][206]/[211][212][207][208] aborts"
340 print"dir":print"":gl=5110
350 goto670
360 poke198,0:print" [208]ress any key to return to menu.[146]":gl=0
370 geta$:ifa$=""then370
380 goto260
390 print"[147] [193]ppend to an existing [193][210][195] file[146]"
400 input"[193][210][195] file to append to";f$:iff$=""thenrun
405 ifright$(f$,4)<>".arc"thenf$=f$+".arc"
430 print" [208][204][193][195][197] [196][201][211][203] [215][201][212][200] [158]"f$:print" [201][206][212][207] [196][210][201][214][197] 8,0"
440 ifa=9then540
442 ifa>0then455
450 input"[198]ilename or [158][210][197][212][213][210][206][146]";fi$(a):goto460
455 input"[206]ext [198]ilename or [158][210][197][212][213][210][206][146]";fi$(a)
460 iffi$(a)=""then540
470 print"[156][207]n what drive can this":input"file be found 8,0[157][157][157][157][157]";dv,dr
480 gosub50:fd$(a)=dr$:ifdr$=""then470
490 fori=1tolen(fi$(a))
500 ifmid$(fi$(a),i,1)=" "thente$(a)=te$(a)+"?":goto520
510 te$(a)=te$(a)+mid$(fi$(a),i,1)
520 next
530 a=a+1:goto440
540 iffi$(0)=""thenrun
550 c$="arc/a a:"+f$:ex$=""
560 fori=0toa-1
570 ex$=ex$+" "+fd$(i)+te$(i)
580 next
590 c$=c$+ex$
600 print"[147]";c$:print"":gl=5370
610 goto670
620 print"[147]arc/l a:"f$:print"":gl=5390
630 goto670
640 poke198,0:print" [208]ress any key to return to menu.[146]":gl=0
650 geta$:ifa$=""then650
660 run
670 poke631,13:poke632,71:poke633,207:poke635,13:poke636,13:poke198,5:end